﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VOL.Entity.DomainModels.QualityAssurance
{
    /// <summary>
    /// 出货检查记录
    /// </summary>
    public class OutProductCheck
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int Id { get; set; }

        /// <summary>
        /// 检验编码
        /// </summary>
        public string CheckCode { get; set; }

        /// <summary>
        /// 检验名称
        /// </summary>
        public string CheckName { get; set; }

        /// <summary>
        /// 批次
        /// </summary>
        public string Batch { get; set; }

        /// <summary>
        /// 产品编码
        /// </summary>
        public string ProductCode { get; set; }

        /// <summary>
        /// 出货数量
        /// </summary>
        public int OutNum { get; set; }

        /// <summary>
        /// 检验数量
        /// </summary>
        public int CheckNum { get; set; }

        /// <summary>
        /// 不合格数量
        /// </summary>
        public int LowNum { get; set; }

        /// <summary>
        /// 检验结果
        /// </summary>
        public string CheckResult { get; set; }

        /// <summary>
        /// 客户编码
        /// </summary>
        public string CustomerCode { get; set; }

        /// <summary>
        /// 出货日期
        /// </summary>
        public DateTime OutDate { get; set; }

        /// <summary>
        /// 检验日期
        /// </summary>
        public DateTime CheckDate { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Descs { get; set; }
    }
}
